﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lilium.Web.Mvc.AjaxControlToolkit
{
	[RequiredResource(typeof(AnimationScripts), LoadOrder = 0)]
	[JavaScriptReference(Constants.ToolkitLibraryName, "Animation.AnimationBehavior.js", LoadOrder = 1)]
	public class AnimationExtender: AnimationExtenderControlBase
	{
		public AnimationExtender(string elementID)
			: base("AjaxControlToolkit.Animation.AnimationBehavior", elementID)
		{
		}

		/// <summary>
		/// OnLoad Animation
		/// </summary>
		[ExtenderControlProperty]
		public Animation OnLoad
		{
			get;
			set;
		}

		/// <summary>
		/// OnClick Animation
		/// </summary>
		[ExtenderControlProperty]
		public Animation OnClick
		{
			get;
			set;
		}

		/// <summary>
		/// OnMouseOver Animation
		/// </summary>
		[ExtenderControlProperty]
		public Animation OnMouseOver
		{
			get;
			set;
		}

		/// <summary>
		/// OnMouseOut Animation
		/// </summary>
		[ExtenderControlProperty]
		public Animation OnMouseOut
		{
			get;
			set;
		}

		/// <summary>
		/// OnHoverOver Animation
		/// </summary>
		[ExtenderControlProperty]
		public Animation OnHoverOver
		{
			get;
			set;
		}

		/// <summary>
		/// OnHoverOut Animation
		/// </summary>
		[ExtenderControlProperty]
		public Animation OnHoverOut
		{
			get;
			set;
		}
	}
}
